package o;

import android.os.Build.VERSION;
import android.view.WindowInsets;

public class ij {
    private final Object ˏ;

    private ij(Object obj) {
        this.ˏ = obj;
    }

    public int ˏ() {
        if (VERSION.SDK_INT >= 20) {
            return ((WindowInsets) this.ˏ).getSystemWindowInsetLeft();
        }
        return 0;
    }

    public int ˎ() {
        if (VERSION.SDK_INT >= 20) {
            return ((WindowInsets) this.ˏ).getSystemWindowInsetTop();
        }
        return 0;
    }

    public int ˋ() {
        if (VERSION.SDK_INT >= 20) {
            return ((WindowInsets) this.ˏ).getSystemWindowInsetRight();
        }
        return 0;
    }

    public int ˊ() {
        if (VERSION.SDK_INT >= 20) {
            return ((WindowInsets) this.ˏ).getSystemWindowInsetBottom();
        }
        return 0;
    }

    public boolean ॱ() {
        if (VERSION.SDK_INT >= 20) {
            return ((WindowInsets) this.ˏ).hasSystemWindowInsets();
        }
        return false;
    }

    public boolean ᐝ() {
        if (VERSION.SDK_INT >= 21) {
            return ((WindowInsets) this.ˏ).isConsumed();
        }
        return false;
    }

    public ij ॱॱ() {
        if (VERSION.SDK_INT >= 20) {
            return new ij(((WindowInsets) this.ˏ).consumeSystemWindowInsets());
        }
        return null;
    }

    public ij ˎ(int i, int i2, int i3, int i4) {
        if (VERSION.SDK_INT >= 20) {
            return new ij(((WindowInsets) this.ˏ).replaceSystemWindowInsets(i, i2, i3, i4));
        }
        return null;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        ij ijVar = (ij) obj;
        if (this.ˏ != null) {
            return this.ˏ.equals(ijVar.ˏ);
        }
        if (ijVar.ˏ != null) {
            return false;
        }
        return true;
    }

    public int hashCode() {
        return this.ˏ == null ? 0 : this.ˏ.hashCode();
    }

    public static ij ˊ(Object obj) {
        return obj == null ? null : new ij(obj);
    }

    public static Object ॱ(ij ijVar) {
        return ijVar == null ? null : ijVar.ˏ;
    }
}
